package com.miku.blog.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 
 * @TableName tb_tourist
 */
@TableName(value ="tb_tourist")
@Data
@Accessors(chain = true)
public class Tourist implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * ip
     */
    private String ipAddress;

    /**
     * ip地址
     */
    private String ipSource;

    /**
     * 默认( 游客 )
     */
    private String nickname;

    /**
     * 浏览器
     */
    private String browser;

    /**
     * 系统
     */
    private String os;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}